package com.itboye.services.ucenter.impl;

import com.itboye.mybatis.mapper.IBaseMapper;
import com.itboye.mybatis.mapper.IMemberMapper;
import com.itboye.mybatis.model.MemberModel;
import com.itboye.services.ucenter.BaseService;
import com.itboye.services.ucenter.interfaces.IMemberService;
import com.itboye.system.helper.ByConsoleHelper;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created by hebidu on 16/7/21.
 */
@Service("memberService")
public class MemberService extends BaseService<MemberModel> implements IMemberService {


    public IBaseMapper<MemberModel> getMapper() {
        return memberMapper;
    }

    public MemberService() {
        super();
        ByConsoleHelper.debug(MemberService.class.toString() + " 初始化",logger);
    }

    private static final Logger logger = LogManager.getLogger(MemberService.class.toString());

    @Resource
    private IMemberMapper memberMapper;

}
